using System;
using System.Threading.Tasks;
using System.Collections.Generic;
using System.Numerics;
using Nethereum.Hex.HexTypes;
using Nethereum.ABI.FunctionEncoding.Attributes;
using Nethereum.RPC.Eth.DTOs;
using Nethereum.Contracts.CQS;
using Nethereum.Contracts;
using System.Threading;

namespace Nethereum.Mud.Contracts.WorldFactory.ContractDefinition
{


    public partial class WorldFactoryDeployment : WorldFactoryDeploymentBase
    {
        public WorldFactoryDeployment() : base(BYTECODE) { }
        public WorldFactoryDeployment(string byteCode) : base(byteCode) { }
    }

    public class WorldFactoryDeploymentBase : ContractDeploymentMessage
    {
        public static string BYTECODE = "0x60a060405234801561001057600080fd5b5060405161589738038061589783398101604081905261002f91610040565b6001600160a01b0316608052610070565b60006020828403121561005257600080fd5b81516001600160a01b038116811461006957600080fd5b9392505050565b60805161580661009160003960008181607c015261013e01526158066000f3fe608060405234801561001057600080fd5b50600436106100365760003560e01c80630d84a1b61461003b57806368a1bfc114610077575b600080fd5b61004e610049366004610337565b61009e565b60405173ffffffffffffffffffffffffffffffffffffffff909116815260200160405180910390f35b61004e7f000000000000000000000000000000000000000000000000000000000000000081565b600080604051806020016100b1906102fb565b6020820181038252601f19601f820116604052509050600033846040516020016100dc9291906103e8565b6040516020818303038152906040528051906020012060001c905061010182826102dd565b6040517fc4d66de800000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff7f000000000000000000000000000000000000000000000000000000000000000081166004830152919450849182169063c4d66de890602401600060405180830381600087803b15801561018f57600080fd5b505af11580156101a3573d6000803e3d6000fd5b5050604080517f6e730000000000000000000000000000000000000000000000000000000000006020820152600060228201819052603082015273ffffffffffffffffffffffffffffffffffffffff8516935063ef5d6bbb92500160405160208183030381529060405261021690610455565b6040517fffffffff0000000000000000000000000000000000000000000000000000000060e084901b1681526004810191909152336024820152604401600060405180830381600087803b15801561026d57600080fd5b505af1158015610281573d6000803e3d6000fd5b505050508373ffffffffffffffffffffffffffffffffffffffff167f2d0f7264273924c53c23fe4b876ab0095eb681a2962abb107124ff1de7c98469836040516102cd91815260200190565b60405180910390a2505050919050565b6000818351602085016000f59050806102f557600080fd5b92915050565b61535f8061049b83390190565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b60006020828403121561034957600080fd5b813567ffffffffffffffff8082111561036157600080fd5b818401915084601f83011261037557600080fd5b81358181111561038757610387610308565b604051601f8201601f19908116603f011681019083821181831017156103af576103af610308565b816040528281528760208487010111156103c857600080fd5b826020860160208301376000928101602001929092525095945050505050565b73ffffffffffffffffffffffffffffffffffffffff831681526000602060406020840152835180604085015260005b8181101561043357858101830151858201606001528201610417565b506000606082860101526060601f19601f830116850101925050509392505050565b80516020808301519190811015610494577fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8160200360031b1b821691505b5091905056fe60a060405234801561001057600080fd5b506100477f629a4c26e296b22a8e0856e9f6ecb2d1008d7e00081111962cd175fa7488e17580546001600160a01b03191630179055565b604051640322e302e360dc1b907fc7f5fdc8526b76f54916701bc910876243ffff2a40b0bb8d59eea8151c52c00590600090a233608052604051640322e302e360dc1b907f7f8f36afe3fb61c459c1a54a60b8a477eab02cc58e49f547561a40906239cb8290600090a260805161528b620000d46000396000818161036f01526112a8015261528b6000f3fe6080604052600436106101d15760003560e01c80638c364d59116100f7578063c4d66de811610095578063d9c03a0411610064578063d9c03a04146106d1578063dbbf0e21146105d1578063e228a4a3146106f1578063ef6ea8621461071157610266565b8063c4d66de814610651578063cc49db7e14610671578063d03edb8c14610691578063d4285dc2146106b157610266565b8063af068c9e116100d1578063af068c9e146105f1578063b047c1eb14610611578063c0a2895a14610631578063c11222291461054b57610266565b80638c364d59146105915780639f1fcf0a146105b1578063a53417ed146105d157610266565b8063390baae01161016f5780634dc77d971161013e5780634dc77d971461050b578063505a181d1461052b5780636951955d1461054b578063894ecc581461057e57610266565b8063390baae01461047b5780633a77c2c21461049b5780633ae7af08146104c9578063419b58fd146104dc57610266565b8063150f3262116101ab578063150f3262146103fb5780631e7889771461041b578063298314fb1461043b5780633708196e1461045b57610266565b806302d05d3f1461035d57806305242d2f146103ae578063114a7266146103db57610266565b366102665760408051616e7360f01b60208201526000602282018190526030820181905291610218910160405160208183030381529060405261021390614389565b610731565b60408051616e7360f01b60208201526000602282018190526030820152919250610264910160405160208183030381529060405261025590614389565b61025f34846143c6565b6107b2565b005b303303610299576040516327a1460b60e21b81526001600160e01b03196000351660048201526024015b60405180910390fd5b6000806102b16000356001600160e01b031916610853565b91509150816000801b036102ff576040517ffdde54e20000000000000000000000000000000000000000000000000000000081526001600160e01b0319600035166004820152602401610290565b60006103436000368080601f016020809104026020016040519081016040528093929190818152602001838380828437600092018290525092508691506109239050565b9050600061035333858434610956565b9050805160208201f35b34801561036957600080fd5b506103917f000000000000000000000000000000000000000000000000000000000000000081565b6040516001600160a01b0390911681526020015b60405180910390f35b3480156103ba57600080fd5b506103ce6103c9366004614436565b610983565b6040516103a591906144ec565b3480156103e757600080fd5b506102646103f6366004614541565b6109c6565b34801561040757600080fd5b50610264610416366004614541565b610a79565b34801561042757600080fd5b506103ce6104363660046145ce565b610b24565b34801561044757600080fd5b5061026461045636600461462c565b610b6e565b34801561046757600080fd5b506102646104763660046146d9565b610c57565b34801561048757600080fd5b506102646104963660046146d9565b610d0d565b3480156104a757600080fd5b506104bb6104b636600461476f565b610dba565b6040519081526020016103a5565b6103ce6104d736600461483f565b610dcb565b3480156104e857600080fd5b506104fc6104f7366004614886565b610e07565b6040516103a5939291906148d9565b34801561051757600080fd5b506103ce610526366004614979565b610e5c565b34801561053757600080fd5b506102646105463660046149e2565b610e6b565b34801561055757600080fd5b507f322e302e300000000000000000000000000000000000000000000000000000006104bb565b6103ce61058c366004614a43565b610ee0565b34801561059d57600080fd5b506104bb6105ac366004614436565b61103c565b3480156105bd57600080fd5b506104bb6105cc366004614a9c565b61107f565b3480156105dd57600080fd5b506104bb6105ec366004614afb565b61108d565b3480156105fd57600080fd5b5061026461060c366004614b52565b61109a565b34801561061d57600080fd5b5061026461062c366004614b8c565b611116565b34801561063d57600080fd5b5061026461064c366004614c1b565b6111c1565b34801561065d57600080fd5b5061026461066c366004614ca8565b61126f565b34801561067d57600080fd5b506104fc61068c3660046149e2565b6113b1565b34801561069d57600080fd5b506103ce6106ac3660046145ce565b611403565b3480156106bd57600080fd5b506104bb6106cc36600461476f565b611444565b3480156106dd57600080fd5b506102646106ec366004614436565b61144f565b3480156106fd57600080fd5b506104bb61070c36600461476f565b6114cf565b34801561071d57600080fd5b5061026461072c366004614541565b6114da565b60408051600180825281830190925260009182919060208083019080368337019050509050828160008151811061076a5761076a614cc5565b602090810291909101015260006107aa7f7462776f726c6400000000000000000042616c616e63657300000000000000008383630100080160dd1b611585565b949350505050565b6040805160018082528183019092526000916020808301908036833701905050905082816000815181106107e8576107e8614cc5565b60200260200101818152505061084e7f7462776f726c6400000000000000000042616c616e636573000000000000000060001b8260008560405160200161083191815260200190565b60408051601f19818403018152919052630100080160dd1b6115b2565b505050565b6040805160018082528183019092526000918291829160208083019080368337019050509050837bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916816000815181106108ac576108ac614cc5565b6020908102919091010152600080806109057f7462776f726c6400000000000000000046756e6374696f6e53656c6563746f72857e240200200400000000000000000000000000000000000000000000000000006115c7565b9250925092506109168383836116cf565b9550955050505050915091565b82820160200180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1682179052825b9392505050565b6060600080610967878787876116e7565b915091508161097957610979816118b7565b9695505050505050565b6060610979868686808060200260200160405190810160405280939291908181526020018383602002808284376000920191909152508892508791506118bf9050565b3033036109f4576040516327a1460b60e21b81526001600160e01b0319600035166004820152602401610290565b6109fe8633611904565b610a718686868080602002602001604051908101604052809392919081815260200183836020028082843760009201919091525050604080516020601f89018190048102820181019092528781528993509150879087908190840183828082843760009201919091525061195092505050565b505050505050565b303303610aa7576040516327a1460b60e21b81526001600160e01b0319600035166004820152602401610290565b610ab18633611904565b610a718686868080602002602001604051908101604052809392919081815260200183836020028082843760009201919091525050604080516020601f89018190048102820181019092528781528993509150879087908190840183828082843760009201919091525061196b92505050565b6060610b65858585808060200260200160405190810160405280939291908181526020018383602002808284376000920191909152508792506119a6915050565b95945050505050565b303303610b9c576040516327a1460b60e21b81526001600160e01b0319600035166004820152602401610290565b610ba68833611904565b610c4d8888888080602002602001604051908101604052809392919081815260200183836020028082843760009201919091525050604080516020601f8c018190048102820181019092528a815292508a915089908190840183828082843760009201919091525050604080516020601f8a018190048102820181019092528881528a9350915088908890819084018382808284376000920191909152506119e092505050565b5050505050505050565b303303610c85576040516327a1460b60e21b81526001600160e01b0319600035166004820152602401610290565b610c8f8733611904565b610d048787878080602002602001604051908101604052809392919081815260200183836020028082843760009201919091525050604080516020601f8a018190048102820181019092528881528a9350915088908890819084018382808284376000920191909152508892506119f6915050565b50505050505050565b303303610d3b576040516327a1460b60e21b81526001600160e01b0319600035166004820152602401610290565b610d458733611904565b610d048787878080602002602001604051908101604052809392919081815260200183836020028082843760009201919091525050604080516020601f8a018190048102820181019092528881528a9350915088908890819084018382808284376000920191909152508892506115b2915050565b6000610dc582611a39565b92915050565b6060303303610dfb576040516327a1460b60e21b81526001600160e01b0319600035166004820152602401610290565b61094f33848434610956565b606060006060610e4c878787808060200260200160405190810160405280939291908181526020018383602002808284376000920191909152508992506115c7915050565b9250925092509450945094915050565b60606109798686868686611abe565b303303610e99576040516327a1460b60e21b81526001600160e01b0319600035166004820152602401610290565b610ea38333611904565b61084e83838380806020026020016040519081016040528093929190818152602001838360200280828437600092019190915250611bc192505050565b6060303303610f10576040516327a1460b60e21b81526001600160e01b0319600035166004820152602401610290565b336001600160a01b03851603610f3357610f2c33848434610956565b905061094f565b6000610f3f8533611bd4565b9050610f4e8186338787611c85565b15610f6757610f5f85858534610956565b91505061094f565b6000610f74866000611bd4565b9050610f838187338888611c85565b15610f9d57610f9486868634610956565b9250505061094f565b6000610fcf616e7360f01b7dffffffffffffffffffffffffffff00000000000000000000000000000000881617611d5a565b9050610fde8188338989611c85565b15610ff957610fef87878734610956565b935050505061094f565b6040517fc86745f90000000000000000000000000000000000000000000000000000000081526001600160a01b0388166004820152336024820152604401610290565b6000610979868686808060200260200160405190810160405280939291908181526020018383602002808284376000920191909152508892508791506115859050565b6000610b6585858585611dd3565b60006107aa848484611e1b565b3033036110c8576040516327a1460b60e21b81526001600160e01b0319600035166004820152602401610290565b60408051616e7360f01b60208201526000602282018190526030820152611108910160405160208183030381529060405261110290614389565b33611e31565b6111128282611e82565b5050565b303303611144576040516327a1460b60e21b81526001600160e01b0319600035166004820152602401610290565b61114e8633611904565b610a718686868080602002602001604051908101604052809392919081815260200183836020028082843760009201919091525050604080516020601f890181900481028201810190925287815289935091508790879081908401838280828437600092019190915250611f3592505050565b3033036111ef576040516327a1460b60e21b81526001600160e01b0319600035166004820152602401610290565b6111f98833611904565b610c4d8888888080602002602001604051908101604052809392919081815260200183836020028082843760009201919091525050604080516020601f89018190048102820181019092528781528b93508a9250899189908990819084018382808284376000920191909152506121d092505050565b30330361129d576040516327a1460b60e21b81526001600160e01b0319600035166004820152602401610290565b336001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016146113415760408051616e7360f01b6020820152600060228201819052603082015261130c910160405160208183030381529060405261130790614389565b6121e8565b336040517fd787b737000000000000000000000000000000000000000000000000000000008152600401610290929190614cdb565b600061134b612325565b6001600160a01b03161461138b576040517f15e34a4800000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6113948161238c565b6040805160008152602081019091526113ae908290611e82565b50565b6060600060606113f48686868080602002602001604051908101604052809392919081815260200183836020028082843760009201919091525061242792505050565b92509250925093509350939050565b6060610b658585858080602002602001604051908101604052809392919081815260200183836020028082843760009201919091525087925061244d915050565b6000610dc582612463565b30330361147d576040516327a1460b60e21b81526001600160e01b0319600035166004820152602401610290565b6114878533611904565b6114c8858585808060200260200160405190810160405280939291908181526020018383602002808284376000920191909152508792508691506124d79050565b5050505050565b6000610dc582612530565b303303611508576040516327a1460b60e21b81526001600160e01b0319600035166004820152602401610290565b6115128633611904565b610a718686868080602002602001604051908101604052809392919081815260200183836020028082843760009201919091525050604080516020601f89018190048102820181019092528781528993509150879087908190840183828082843760009201919091525061255692505050565b6000610b656115948686612591565b60ff858116601b0360080285901c166115ad85876125e7565b612620565b6114c885856115c184876125e7565b85611f35565b60606000606060006115d885612671565b90506115e5878783612694565b935060006115f2866126cd565b905080156116c457611604888861270a565b935066ffffffffffffff841667ffffffffffffffff81111561162857611628614788565b6040519080825280601f01601f191660200182016040528015611652576020820181803683370190505b5092506020830160005b828160ff1610156116c15760006116748b8b8461271d565b90506000611691888460ff166028026038011c64ffffffffff1690565b90506116a0826000838761279d565b6116aa81856143c6565b9350505080806116b990614d06565b91505061165c565b50505b505093509350939050565b6000806116db85612869565b90969095509350505050565b6000606060006116f68661287e565b905060005b81518110156117c957600082828151811061171857611718614cc5565b602002602001015190506117446001826affffffffffffffffffffff191661290790919063ffffffff16565b156117c0576040517fc3323031000000000000000000000000000000000000000000000000000000008152606082901c9063c33230319061178d908c908c908c90600401614d25565b600060405180830381600087803b1580156117a757600080fd5b505af11580156117bb573d6000803e3d6000fd5b505050505b506001016116fb565b506117d687858888612925565b909350915060005b81518110156118ac5760008282815181106117fb576117fb614cc5565b602002602001015190506118276002826affffffffffffffffffffff191661290790919063ffffffff16565b156118a3576040517f973d8f99000000000000000000000000000000000000000000000000000000008152606082901c9063973d8f9990611870908c908c908c90600401614d25565b600060405180830381600087803b15801561188a57600080fd5b505af115801561189e573d6000803e3d6000fd5b505050505b506001016117de565b505094509492505050565b805160208201fd5b60606118ca82612a40565b8360ff1610156118e7576118e085858585612a52565b90506107aa565b6118e085856118f585612a40565b6118ff9087614d4d565b6119a6565b61190e8282612a7f565b6111125761191b826121e8565b816040517fd787b737000000000000000000000000000000000000000000000000000000008152600401610290929190614cdb565b6119658484848461196089611a39565b6119f6565b50505050565b6000611977858561270a565b90506000611994828560ff166028026038011c64ffffffffff1690565b9050610a718686868460008888612ac2565b60606107aa6119b685858561271d565b60006119db856119c6898961270a565b9060ff166028026038011c64ffffffffff1690565b612efc565b6114c885858585856119f18b611a39565b612f1f565b6119ff81612a40565b8360ff161015611a1b57611a1685858585856115b2565b6114c8565b6114c88585611a2984612a40565b611a339087614d4d565b85612556565b60007f8b9d8c8b908d9affffffffffffffffffab9e9d939a8d000000000000000000008201611a8857507e60030220202000000000000000000000000000000000000000000000000000919050565b610dc5611ab57f746273746f72650000000000000000005461626c65730000000000000000000084613264565b60206000612620565b606081831115611b04576040517fa8c547820000000000000000000000000000000000000000000000000000000081526004810184905260248101839052604401610290565b6000611b10878761270a565b90506000611b2d828760ff166028026038011c64ffffffffff1690565b90508085101580611b3d57508084115b15611b98578081861015611b5b57611b56600186614d66565b611b5d565b855b6040517f7e8578d300000000000000000000000000000000000000000000000000000000815260048101929092526024820152604401610290565b6000611ba589898961271d565b9050611bb48187888803612efc565b9998505050505050505050565b6111128282611bcf85611a39565b613280565b60408051600280825260608201835260009283929190602083019080368337019050509050836001600160a01b031660001b81600081518110611c1957611c19614cc5565b602002602001018181525050826001600160a01b031660001b81600181518110611c4557611c45614cc5565b60209081029190910101526000610b657f7462776f726c640000000000000000005573657244656c65676174696f6e436f8383630100080160dd1b611585565b6000611c908661357f565b15611c9d57506001610b65565b85611caa57506000610b65565b600080611d268660008a8a8989604051602401611cc993929190614d25565b60408051601f198184030181529190526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167f1a86b55000000000000000000000000000000000000000000000000000000000179052612925565b9150915081611d3a57600092505050610b65565b80806020019051810190611d4e9190614d79565b98975050505050505050565b604080516001808252818301909252600091829190602080830190803683370190505090508281600081518110611d9357611d93614cc5565b602090810291909101015260006107aa7f7462776f726c640000000000000000004e616d65737061636544656c656761748383630100080160dd1b611585565b600080611ddf83612a40565b90508060ff168460ff161015611e075760ff848116601b0360080284901c165b9150506107aa565b611dff8686611e168488614d4d565b6135fa565b60006107aa848484611e2c88611a39565b611dd3565b6001600160a01b038116611e6b616e7360f01b7dffffffffffffffffffffffffffff0000000000000000000000000000000085161761360a565b6001600160a01b0316146111125761191b826121e8565b611eac827f6fdd1c80000000000000000000000000000000000000000000000000000000006136a6565b611f213360008484604051602401611ec491906144ec565b60408051601f198184030181529190526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167f7c5b033500000000000000000000000000000000000000000000000000000000179052613701565b506111128282805190602001206001613712565b7f6f74000000000000000000000000000000000000000000000000000000000000847fffff0000000000000000000000000000000000000000000000000000000000001603611fbf57837f8c0b5119d4cec7b284c6b1b39252a03d1e2f2d7451a5895562524c113bb952be848484604051611fb293929190614dd7565b60405180910390a2611965565b6000611fcb8585612591565b90506000611fd8866137f6565b905060005b81518110156120ad576000828281518110611ffa57611ffa614cc5565b602002602001015190506120266004826affffffffffffffffffffff191661290790919063ffffffff16565b156120a4576040517f964f667d000000000000000000000000000000000000000000000000000000008152606082901c9063964f667d90612071908b908b908b908b90600401614e0a565b600060405180830381600087803b15801561208b57600080fd5b505af115801561209f573d6000803e3d6000fd5b505050505b50600101611fdd565b50857f8c0b5119d4cec7b284c6b1b39252a03d1e2f2d7451a5895562524c113bb952be8686866040516120e293929190614dd7565b60405180910390a26120fd828565ffffffffffff1685613868565b60005b8151811015610d0457600082828151811061211d5761211d614cc5565b602002602001015190506121496008826affffffffffffffffffffff191661290790919063ffffffff16565b156121c7576040517fa8ba8721000000000000000000000000000000000000000000000000000000008152606082901c9063a8ba872190612194908b908b908b908b90600401614e0a565b600060405180830381600087803b1580156121ae57600080fd5b505af11580156121c2573d6000803e3d6000fd5b505050505b50600101612100565b610a718686868686866121e38d8d61270a565b612ac2565b606081601081901b60006121fb8361387e565b9050827fffffffffffffffffffffffffffff000000000000000000000000000000000000831615612256576122517fffffffffffffffffffffffffffff0000000000000000000000000000000000008416613895565b61228d565b6040518060400160405280600681526020017f3c726f6f743e00000000000000000000000000000000000000000000000000008152505b7fffffffffffffffffffffffffffffffff000000000000000000000000000000008316156122c3576122be83613895565b6122fa565b6040518060400160405280600681526020017f3c726f6f743e00000000000000000000000000000000000000000000000000008152505b60405160200161230c93929190614e43565b6040516020818303038152906040529350505050919050565b6040805160008082526020820190925260006123827f7462776f726c64000000000000000000496e69744d6f64756c6541646472657383837e14010014000000000000000000000000000000000000000000000000000000613939565b60601c9392505050565b604080516000808252602082018352606084901b7fffffffffffffffffffffffffffffffffffffffff000000000000000000000000168284015282518083036034018152605483019093529091611112917f7462776f726c64000000000000000000496e69744d6f64756c65416464726573918491907e140100140000000000000000000000000000000000000000000000000000006139ee565b606060006060612440858561243b88611a39565b6115c7565b9250925092509250925092565b60606107aa84848461245e88611a39565b6118bf565b600061246e82613a97565b905061247982613b29565b6124d257818260405160200161249191815260200190565b60408051601f19818403018152908290527f41e713ad0000000000000000000000000000000000000000000000000000000082526102909291600401614ed1565b919050565b60006124e3858561270a565b90506000612500828560ff166028026038011c64ffffffffff1690565b9050610a718686866125198764ffffffffff8716614d66565b604080516000815260208101909152889088612ac2565b600061253b82613bc6565b9050806124d257818260405160200161249191815260200190565b6000612562858561270a565b9050600061257f828560ff166028026038011c64ffffffffff1690565b9050610a718686866000858888612ac2565b600082826040516020016125a6929190614eea565b60408051601f1981840301815291905280516020909101207f86425bff6b57326c7859e89024fe4f238ca327a1ae4a230180dd2f0e88aaa7d9189392505050565b600080805b8360ff168110156126185761260e60ff601b83900360080287901c16836143c6565b91506001016125ec565b509392505050565b6000602082106126465760208204840193506020828161264257612642614f26565b0691505b508254600882021b602082900380841115612618576001850154600882021c82179150509392505050565b6000600861268160026020614d66565b61268b9190614f3c565b9190911c919050565b6060816000036126b3575060408051602081019091526000815261094f565b60006126bf8585612591565b9050610b6581600085612efc565b600060086001806126e060026020614d66565b6126ea9190614d66565b6126f49190614d66565b6126fe9190614f3c565b8260ff911c1692915050565b600061094f6127198484613c58565b5490565b60008383604051602001612732929190614eea565b604051602081830303815290604052805190602001208260f81b7effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff19167f3b4102da22e32d82fc925482184f16c09fd4281692720b87d124aef6da48a0f1181860001c90509392505050565b821561282457602083106127c7576020830484019350602083816127c3576127c3614f26565b0692505b82156128245760208390036000818410156127ea5750600019600884021c6127f4565b50600019600882021c5b8554600886021b818451168219821617845250818411612815575050611965565b50600194909401939182900391015b5b602082106128465783548152600190930192601f1990910190602001612825565b8115611965576000600019600884021c8251865482191691161782525050505050565b602081015160408201516000905b9050915091565b604080516001808252818301909252606091600091906020808301908036833701905050905082816000815181106128b8576128b8614cc5565b602090810291909101015260006128f07f7462776f726c6400000000000000000053797374656d486f6f6b73000000000083836119a6565b90506107aa6129028260008451613cae565b613d3c565b60008160ff16826129188560581c90565b1660ff1614905092915050565b6000606060008061293586613d4d565b90925090506001600160a01b0382166129865785612952876121e8565b6040517ffbf10ce6000000000000000000000000000000000000000000000000000000008152600401610290929190614ed1565b80612995576129958689611904565b86156129e1577dffffffffffffffffffffffffffff000000000000000000000000000000008616616e7360f01b1760006129ce82610731565b90506129de8261025f8b846143c6565b50505b60006129ed8760101b90565b7fffffffffffffffffffffffffffff0000000000000000000000000000000000001614612a2557612a2088888488613df1565b612a31565b612a3188888488613e69565b90999098509650505050505050565b6000600860016126ea60026020614d66565b6060610b65612a618686612591565b612a6b84866125e7565b60ff868116601b0360080286901c16612efc565b6000612ab2616e7360f01b7dffffffffffffffffffffffffffff0000000000000000000000000000000085161783613eca565b8061094f575061094f8383613eca565b7f7462000000000000000000000000000000000000000000000000000000000000877fffff0000000000000000000000000000000000000000000000000000000000001614612b82577f74620000000000000000000000000000000000000000000000000000000000008788604051602001612b4091815260200190565b60408051601f19818403018152908290527f31b46683000000000000000000000000000000000000000000000000000000008252610290939291600401614f53565b6000612b9d828760ff166028026038011c64ffffffffff1690565b9050600083518564ffffffffff1683612bb69190614d66565b612bc091906143c6565b9050808214158015612be2575081612bd88688614f94565b64ffffffffff1614155b15612c32576040517fa65010b400000000000000000000000000000000000000000000000000000000815264ffffffffff8088166004830152808716602483015283166044820152606401610290565b818664ffffffffff161115612c83576040517f7e8578d30000000000000000000000000000000000000000000000000000000081526004810183905264ffffffffff87166024820152604401610290565b6000612c90848984613f93565b90506000612c9d8b6137f6565b905060005b8151811015612d68576000828281518110612cbf57612cbf614cc5565b60200260200101519050612ceb6010826affffffffffffffffffffff191661290790919063ffffffff16565b15612d5f57606081901c6001600160a01b03166355eb5a288e8e8e8e8e8d8f6040518863ffffffff1660e01b8152600401612d2c9796959493929190614fb9565b600060405180830381600087803b158015612d4657600080fd5b505af1158015612d5a573d6000803e3d6000fd5b505050505b50600101612ca2565b5064ffffffffff881660005b8a60ff168160ff161015612da757612d9b878260ff166028026038011c64ffffffffff1690565b90910190600101612d74565b508b7ffe158a7adba34e256807c8a149028d3162918713c3838afc643ce9f96716ebfd8c8c848c888d604051612de296959493929190615017565b60405180910390a250828414612e03576000612dfe8c8c613c58565b839055505b6000612e108c8c8c61271d565b9050612e24818a64ffffffffff1689613868565b5060005b8151811015612eee576000828281518110612e4557612e45614cc5565b60200260200101519050612e716020826affffffffffffffffffffff191661290790919063ffffffff16565b15612ee557606081901c6001600160a01b031663635845338e8e8e8e8e8a8f6040518863ffffffff1660e01b8152600401612eb29796959493929190614fb9565b600060405180830381600087803b158015612ecc57600080fd5b505af1158015612ee0573d6000803e3d6000fd5b505050505b50600101612e28565b505050505050505050505050565b60405160208101601f19603f84840101166040528282526126188585858461279d565b7f6f74000000000000000000000000000000000000000000000000000000000000867fffff0000000000000000000000000000000000000000000000000000000000001603612fab57857f8dbb3a9672eebfd3773e72dd9c102393436816d832c7ba9e1e1ac8fcadcac7a986868686604051612f9e9493929190615066565b60405180910390a2610a71565b6000612fb6876137f6565b905060005b815181101561308f576000828281518110612fd857612fd8614cc5565b602002602001015190506130046001826affffffffffffffffffffff191661290790919063ffffffff16565b15613086576040517f57066c9c000000000000000000000000000000000000000000000000000000008152606082901c906357066c9c90613053908c908c908c908c908c908c906004016150a5565b600060405180830381600087803b15801561306d57600080fd5b505af1158015613081573d6000803e3d6000fd5b505050505b50600101612fbb565b50867f8dbb3a9672eebfd3773e72dd9c102393436816d832c7ba9e1e1ac8fcadcac7a9878787876040516130c69493929190615066565b60405180910390a260006130da8888612591565b905060006020870190506130f2826000895184614061565b60006130fd856126cd565b111561318157600061310f8a8a613c58565b878155905060208601915060008060005b613129886126cd565b8160ff16101561317c5761313e8d8d8361271d565b92506131598a8260ff166028026038011c64ffffffffff1690565b91506131688360008488614061565b61317282866143c6565b9450600101613120565b505050505b60005b83518110156132585760008482815181106131a1576131a1614cc5565b602002602001015190506131cd6002826affffffffffffffffffffff191661290790919063ffffffff16565b1561324f576040517f5b28cdaf000000000000000000000000000000000000000000000000000000008152606082901c90635b28cdaf9061321c908e908e908e908e908e908e906004016150a5565b600060405180830381600087803b15801561323657600080fd5b505af115801561324a573d6000803e3d6000fd5b505050505b50600101613184565b50505050505050505050565b60408051602081018490529081018290526000906060016125a6565b7f6f74000000000000000000000000000000000000000000000000000000000000837fffff000000000000000000000000000000000000000000000000000000000000160361330657827f0e1f72f429eb97e64878619984a91e687ae91610348b9ff4216782cc96e49d07836040516132f991906150fe565b60405180910390a2505050565b6000613311846137f6565b905060005b81518110156133e457600082828151811061333357613333614cc5565b6020026020010151905061335f6040826affffffffffffffffffffff191661290790919063ffffffff16565b156133db576040517f9faeaf45000000000000000000000000000000000000000000000000000000008152606082901c90639faeaf45906133a890899089908990600401615111565b600060405180830381600087803b1580156133c257600080fd5b505af11580156133d6573d6000803e3d6000fd5b505050505b50600101613316565b50837f0e1f72f429eb97e64878619984a91e687ae91610348b9ff4216782cc96e49d078460405161341591906150fe565b60405180910390a260006134298585612591565b905061348281600061343a86612671565b67ffffffffffffffff81111561345257613452614788565b6040519080825280601f01601f19166020018201604052801561347c576020820181803683370190505b50613868565b600061348d846126cd565b11156134ae57600061349f8686613c58565b90506134ac816020614120565b505b60005b8251811015610a715760008382815181106134ce576134ce614cc5565b602002602001015190506134fa6080826affffffffffffffffffffff191661290790919063ffffffff16565b15613576576040517f83b5c95b000000000000000000000000000000000000000000000000000000008152606082901c906383b5c95b90613543908a908a908a90600401615111565b600060405180830381600087803b15801561355d57600080fd5b505af1158015613571573d6000803e3d6000fd5b505050505b506001016134b1565b604080517f737900000000000000000000000000000000000000000000000000000000000060208201526000602282018190527f756e6c696d697465640000000000000000000000000000000000000000000000603083015291016040516020818303038152906040526135f290614389565b909114919050565b60006107aa826119c6868661270a565b60408051600180825281830190925260009182919060208083019080368337019050509050828160008151811061364357613643614cc5565b6020908102919091010152600061369b7f7462776f726c640000000000000000004e616d6573706163654f776e6572000083837e14010014000000000000000000000000000000000000000000000000000000611585565b60601c949350505050565b6136b0828261415d565b611112576040517f74b5e6ff0000000000000000000000000000000000000000000000000000000081526001600160a01b03831660048201526001600160e01b031982166024820152604401610290565b606060008061096787878787613e69565b604080516002808252606082018352600092602083019080368337019050509050836001600160a01b031660001b8160008151811061375357613753614cc5565b602002602001018181525050828160018151811061377357613773614cc5565b6020026020010181815250506119657f7462776f726c64000000000000000000496e7374616c6c65644d6f64756c657360001b826000856040516020016137c191151560f81b815260010190565b60408051601f198184030181529190527e010100010000000000000000000000000000000000000000000000000000006115b2565b6040805160018082528183019092526060916000919060208083019080368337019050509050828160008151811061383057613830614cc5565b602090810291909101015260006128f07f746273746f726500000000000000000053746f7265486f6f6b7300000000000083836119a6565b61084e838383516138798560200190565b614061565b600061388c607060106143c6565b9190911b919050565b606060005b60108110156138fa577fffffffffffffffffffffffffffffffff000000000000000000000000000000008316600882021b7fff0000000000000000000000000000000000000000000000000000000000000016156138fa5760010161389a565b604080517fffffffffffffffffffffffffffffffff000000000000000000000000000000008516602082015281516030909101909152818152806107aa565b600080613944614179565b9050306001600160a01b0382160361396257611dff86868686611585565b6040517f8c364d590000000000000000000000000000000000000000000000000000000081526001600160a01b03821690638c364d59906139ad90899089908990899060040161513a565b602060405180830381865afa1580156139ca573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611dff9190615169565b60006139f8614179565b9050306001600160a01b03821603613a1c57613a1786868686866115b2565b610a71565b6040517f390baae00000000000000000000000000000000000000000000000000000000081526001600160a01b0382169063390baae090613a699089908990899089908990600401615182565b600060405180830381600087803b158015613a8357600080fd5b505af1158015613258573d6000803e3d6000fd5b604080516001808252818301909252600091829190602080830190803683370190505090508281600081518110613ad057613ad0614cc5565b602090810291909101015260006107aa7f746273746f72650000000000000000005461626c6573000000000000000000008360017e60030220202000000000000000000000000000000000000000000000000000611585565b604080516001808252818301909252600091829190602080830190803683370190505090508281600081518110613b6257613b62614cc5565b60209081029190910101526000613bba7f746273746f72650000000000000000005265736f75726365496473000000000083837e01010001000000000000000000000000000000000000000000000000000000611585565b90506107aa8160f81c90565b604080516001808252818301909252600091829190602080830190803683370190505090508281600081518110613bff57613bff614cc5565b602090810291909101015260006107aa7f746273746f72650000000000000000005461626c6573000000000000000000008360027e60030220202000000000000000000000000000000000000000000000000000611585565b60008282604051602001613c6d929190614eea565b60408051601f1981840301815291905280516020909101207f14e2fcc58e58e68ec7edc30c8d50dccc3ce2714a623ec81f46b6a63922d76569189392505050565b600081831180613cbe5750835182115b15613cfb578383836040517f23230fa3000000000000000000000000000000000000000000000000000000008152600401610290939291906151c9565b60208401613d0984826143c6565b90506000613d178585614d66565b6fffffffffffffffffffffffffffffffff1660809290921b9190911795945050505050565b6060600061094f83601560006141b3565b60408051600180825281830190925260009182918291602080830190803683370190505090508381600081518110613d8757613d87614cc5565b602090810291909101015260008080613de07f7462776f726c6400000000000000000053797374656d73000000000000000000857e150200140100000000000000000000000000000000000000000000000000006115c7565b92509250925061091683838361422e565b60006060836001600160a01b03166000613e0c85898961423a565b604051613e1991906151ee565b60006040518083038185875af1925050503d8060008114613e56576040519150601f19603f3d011682016040523d82523d6000602084013e613e5b565b606091505b509097909650945050505050565b60006060836001600160a01b0316613e8284888861423a565b604051613e8f91906151ee565b600060405180830381855af49150503d8060008114613e56576040519150601f19603f3d011682016040523d82523d6000602084013e613e5b565b604080516002808252606082018352600092839291906020830190803683370190505090508381600081518110613f0357613f03614cc5565b602002602001018181525050826001600160a01b031660001b81600181518110613f2f57613f2f614cc5565b60209081029190910101526000613f877f7462776f726c640000000000000000005265736f75726365416363657373000083837e01010001000000000000000000000000000000000000000000000000000000611585565b9050610b658160f81c90565b600064ffffffffff821115613fd7576040517f7149a3c100000000000000000000000000000000000000000000000000000000815260048101839052602401610290565b8366ffffffffffffff811660ff851660280260380182901c64ffffffffff168085106140095780850382019150614011565b848103820391505b5064ffffffffff6038602860ff8816020181811b197fffffffffffffffffffffffffffffffffffffffffffffffffff000000000000009490941690921792909216918416901b1790509392505050565b82156140db576020831061408b5760208304840193506020838161408757614087614f26565b0692505b82156140db5760208390036000600019600885021c1990506008850281811c91508351811c90508119875416828216178755508184116140cc575050611965565b50600194909401939182900391015b5b602082106140fd5780518455600190930192601f19909101906020016140dc565b8115611965576000600019600884021c8554835182191691161785555050505050565b6000602061412f83601f6143c6565b614139919061520a565b61414390846143c6565b90505b8083101561084e5760008355600183019250614146565b600061416883614269565b801561094f575061094f83836142b5565b7f629a4c26e296b22a8e0856e9f6ecb2d1008d7e00081111962cd175fa7488e175546000906001600160a01b0316806124d2573391505090565b606060006141c18560801c90565b90506fffffffffffffffffffffffffffffffff851660008582816141e7576141e7614f26565b04905060405193506020840160208202810160405281855260005b82811015614222578451871c825293870193602090910190600101614202565b50505050509392505050565b6000806116db8561436d565b60608383836040516020016142519392919061522c565b60405160208183030381529060405290509392505050565b6000614295827f01ffc9a7000000000000000000000000000000000000000000000000000000006142b5565b8015610dc557506142ae826001600160e01b03196142b5565b1592915050565b6040516001600160e01b031982166024820152600090819060440160408051601f19818403018152919052602080820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167f01ffc9a700000000000000000000000000000000000000000000000000000000178152825192935060009283928392909183918a617530fa92503d91506000519050828015614356575060208210155b80156143625750600081115b979650505050505050565b6020810151603482015160609190911c9060009060f81c612877565b805160208083015191908110156143aa576000198160200360031b1b821691505b50919050565b634e487b7160e01b600052601160045260246000fd5b80820180821115610dc557610dc56143b0565b60008083601f8401126143eb57600080fd5b50813567ffffffffffffffff81111561440357600080fd5b6020830191508360208260051b850101111561441e57600080fd5b9250929050565b803560ff811681146124d257600080fd5b60008060008060006080868803121561444e57600080fd5b85359450602086013567ffffffffffffffff81111561446c57600080fd5b614478888289016143d9565b909550935061448b905060408701614425565b949793965091946060013592915050565b60005b838110156144b757818101518382015260200161449f565b50506000910152565b600081518084526144d881602086016020860161449c565b601f01601f19169290920160200192915050565b60208152600061094f60208301846144c0565b60008083601f84011261451157600080fd5b50813567ffffffffffffffff81111561452957600080fd5b60208301915083602082850101111561441e57600080fd5b6000806000806000806080878903121561455a57600080fd5b86359550602087013567ffffffffffffffff8082111561457957600080fd5b6145858a838b016143d9565b909750955085915061459960408a01614425565b945060608901359150808211156145af57600080fd5b506145bc89828a016144ff565b979a9699509497509295939492505050565b600080600080606085870312156145e457600080fd5b84359350602085013567ffffffffffffffff81111561460257600080fd5b61460e878288016143d9565b9094509250614621905060408601614425565b905092959194509250565b60008060008060008060008060a0898b03121561464857600080fd5b88359750602089013567ffffffffffffffff8082111561466757600080fd5b6146738c838d016143d9565b909950975060408b013591508082111561468c57600080fd5b6146988c838d016144ff565b909750955060608b0135945060808b01359150808211156146b857600080fd5b506146c58b828c016144ff565b999c989b5096995094979396929594505050565b600080600080600080600060a0888a0312156146f457600080fd5b87359650602088013567ffffffffffffffff8082111561471357600080fd5b61471f8b838c016143d9565b909850965086915061473360408b01614425565b955060608a013591508082111561474957600080fd5b506147568a828b016144ff565b989b979a50959894979596608090950135949350505050565b60006020828403121561478157600080fd5b5035919050565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f1916810167ffffffffffffffff811182821017156147c7576147c7614788565b604052919050565b600082601f8301126147e057600080fd5b813567ffffffffffffffff8111156147fa576147fa614788565b61480d6020601f19601f8401160161479e565b81815284602083860101111561482257600080fd5b816020850160208301376000918101602001919091529392505050565b6000806040838503121561485257600080fd5b82359150602083013567ffffffffffffffff81111561487057600080fd5b61487c858286016147cf565b9150509250929050565b6000806000806060858703121561489c57600080fd5b84359350602085013567ffffffffffffffff8111156148ba57600080fd5b6148c6878288016143d9565b9598909750949560400135949350505050565b6060815260006148ec60608301866144c0565b846020840152828103604084015261097981856144c0565b600082601f83011261491557600080fd5b8135602067ffffffffffffffff82111561493157614931614788565b8160051b61494082820161479e565b928352848101820192828101908785111561495a57600080fd5b83870192505b8483101561436257823582529183019190830190614960565b600080600080600060a0868803121561499157600080fd5b85359450602086013567ffffffffffffffff8111156149af57600080fd5b6149bb88828901614904565b9450506149ca60408701614425565b94979396509394606081013594506080013592915050565b6000806000604084860312156149f757600080fd5b83359250602084013567ffffffffffffffff811115614a1557600080fd5b614a21868287016143d9565b9497909650939450505050565b6001600160a01b03811681146113ae57600080fd5b600080600060608486031215614a5857600080fd5b8335614a6381614a2e565b925060208401359150604084013567ffffffffffffffff811115614a8657600080fd5b614a92868287016147cf565b9150509250925092565b60008060008060808587031215614ab257600080fd5b84359350602085013567ffffffffffffffff811115614ad057600080fd5b614adc87828801614904565b935050614aeb60408601614425565b9396929550929360600135925050565b600080600060608486031215614b1057600080fd5b83359250602084013567ffffffffffffffff811115614b2e57600080fd5b614b3a86828701614904565b925050614b4960408501614425565b90509250925092565b60008060408385031215614b6557600080fd5b8235614b7081614a2e565b9150602083013567ffffffffffffffff81111561487057600080fd5b60008060008060008060808789031215614ba557600080fd5b86359550602087013567ffffffffffffffff80821115614bc457600080fd5b614bd08a838b016143d9565b90975095506040890135915065ffffffffffff82168214614bf057600080fd5b909350606088013590808211156145af57600080fd5b803564ffffffffff811681146124d257600080fd5b60008060008060008060008060c0898b031215614c3757600080fd5b88359750602089013567ffffffffffffffff80821115614c5657600080fd5b614c628c838d016143d9565b9099509750879150614c7660408c01614425565b9650614c8460608c01614c06565b9550614c9260808c01614c06565b945060a08b01359150808211156146b857600080fd5b600060208284031215614cba57600080fd5b813561094f81614a2e565b634e487b7160e01b600052603260045260246000fd5b604081526000614cee60408301856144c0565b90506001600160a01b03831660208301529392505050565b600060ff821660ff8103614d1c57614d1c6143b0565b60010192915050565b6001600160a01b0384168152826020820152606060408201526000610b6560608301846144c0565b60ff8281168282160390811115610dc557610dc56143b0565b81810381811115610dc557610dc56143b0565b600060208284031215614d8b57600080fd5b8151801515811461094f57600080fd5b60008151808452602080850194506020840160005b83811015614dcc57815187529582019590820190600101614db0565b509495945050505050565b606081526000614dea6060830186614d9b565b65ffffffffffff85166020840152828103604084015261097981856144c0565b848152608060208201526000614e236080830186614d9b565b65ffffffffffff85166040840152828103606084015261436281856144c0565b7fffff0000000000000000000000000000000000000000000000000000000000008416815260007f3a000000000000000000000000000000000000000000000000000000000000008060028401528451614ea481600386016020890161449c565b808401905081600382015284519150614ec482600483016020880161449c565b0160040195945050505050565b8281526040602082015260006107aa60408301846144c0565b8281526000602080830184516020860160005b82811015614f1957815184529284019290840190600101614efd565b5091979650505050505050565b634e487b7160e01b600052601260045260246000fd5b8082028115828204841417610dc557610dc56143b0565b7fffff00000000000000000000000000000000000000000000000000000000000084168152826020820152606060408201526000610b6560608301846144c0565b64ffffffffff818116838216019080821115614fb257614fb26143b0565b5092915050565b87815260e060208201526000614fd260e0830189614d9b565b60ff8816604084015264ffffffffff87811660608501528616608084015260a0830185905282810360c084015261500981856144c0565b9a9950505050505050505050565b60c08152600061502a60c0830189614d9b565b60ff8816602084015265ffffffffffff8716604084015264ffffffffff8616606084015284608084015282810360a0840152611bb481856144c0565b6080815260006150796080830187614d9b565b828103602084015261508b81876144c0565b9050846040840152828103606084015261436281856144c0565b86815260c0602082015260006150be60c0830188614d9b565b82810360408401526150d081886144c0565b905085606084015282810360808401526150ea81866144c0565b9150508260a0830152979650505050505050565b60208152600061094f6020830184614d9b565b83815260606020820152600061512a6060830185614d9b565b9050826040830152949350505050565b8481526080602082015260006151536080830186614d9b565b60ff949094166040830152506060015292915050565b60006020828403121561517b57600080fd5b5051919050565b85815260a06020820152600061519b60a0830187614d9b565b60ff8616604084015282810360608401526151b681866144c0565b9150508260808301529695505050505050565b6060815260006151dc60608301866144c0565b60208301949094525060400152919050565b6000825161520081846020870161449c565b9190910192915050565b60008261522757634e487b7160e01b600052601260045260246000fd5b500490565b6000845161523e81846020890161449c565b60609490941b7fffffffffffffffffffffffffffffffffffffffff000000000000000000000000169190930190815260148101919091526034019291505056fea164736f6c6343000818000aa164736f6c6343000818000a";
        public WorldFactoryDeploymentBase() : base(BYTECODE) { }
        public WorldFactoryDeploymentBase(string byteCode) : base(byteCode) { }
        [Parameter("address", "_initModule", 1)]
        public virtual string InitModule { get; set; }
    }

    public partial class DeployWorldFunction : DeployWorldFunctionBase { }

    [Function("deployWorld", "address")]
    public class DeployWorldFunctionBase : FunctionMessage
    {
        [Parameter("bytes", "salt", 1)]
        public virtual byte[] Salt { get; set; }
    }

    public partial class InitModuleFunction : InitModuleFunctionBase { }

    [Function("initModule", "address")]
    public class InitModuleFunctionBase : FunctionMessage
    {

    }

    public partial class WorldDeployedEventDTO : WorldDeployedEventDTOBase { }

    [Event("WorldDeployed")]
    public class WorldDeployedEventDTOBase : IEventDTO
    {
        [Parameter("address", "newContract", 1, true )]
        public virtual string NewContract { get; set; }
        [Parameter("uint256", "salt", 2, false )]
        public virtual BigInteger Salt { get; set; }
    }



    public partial class InitModuleOutputDTO : InitModuleOutputDTOBase { }

    [FunctionOutput]
    public class InitModuleOutputDTOBase : IFunctionOutputDTO 
    {
        [Parameter("address", "", 1)]
        public virtual string ReturnValue1 { get; set; }
    }
}
